package com.sun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 清风
 * @since 2022-03-30
 */
public class Time implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private LocalDateTime createTime;

    private Integer defaultTime;

    private Integer staticValue;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getDefaultTime() {
        return defaultTime;
    }

    public void setDefaultTime(Integer defaultTime) {
        this.defaultTime = defaultTime;
    }
    public Integer getStaticValue() {
        return staticValue;
    }

    public void setStaticValue(Integer staticValue) {
        this.staticValue = staticValue;
    }

    @Override
    public String toString() {
        return "Time{" +
            "id=" + id +
            ", createTime=" + createTime +
            ", defaultTime=" + defaultTime +
            ", staticValue=" + staticValue +
        "}";
    }
}
